package General;

/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

/**
 *
 * @author Manuel
 */
public class Globals {
    public static final String[] FILE_LINKS = {"gc_links.txt","sf_links.txt"};
    public static final String ELEMENTNAME = "loc";


    //different types of sites
    public static final String GOOGLE_SITE = "http://code.google.com/hosting/";
    public static final String SOURCEFORGE_SITE = "http://sourceforge.net/directory/desktop/linux";
    public static final String GOOGLE_PROJECTS = "http://code.google.com/hosting/search?";
    public static final int SITE_TYPE_GOOGLE = 1;
    public static final int SITE_TYPE_SOURCEFORGE = 2;

    //programming languages to crawl for
    public static String[] languages = {"java","cplusplus"};

    public static int crawlLimit = 100;
    public static final String projectFile = "projects.txt";

    public static int currentTime = Long.valueOf( Utilities.getCurrentTime()).intValue();
    public static final int threadNumber = 10;
    public static final int CHECK_CONTEXT = 6;
    public static final int CHECK_CODE = 7;
    public static final String DATA_DIRECTORY = "ProjectData";
    public static final String BYTECODE_DIRECTORY = "byte";
    public static final String SOURCECODE_DIRECTORY = "source";
    public static final int SVN = 20;
    public static final int MERCURIAL = 21;
    public static final int CVS = 22;
    public static final int counter = 0;
    public static final int CHECK_REPO=8;
    public static final int CHECK_LINK = 9;
    public static final int BUGZILLA = 30;
    public static final int SFBUGTRACKER = 31;
    public static final int GCBUGTRACKER = 32;
    public static final int GOOGLECODE = 35;
    public static final int SOURCEFORGE = 36;

    public static final int ISSUE_STATUS_OPEN = 40;
    public static final int ISSUE_STATUS_CLOSED = 41;

    public static final int GOOD_PROJECT = 50;
    public static final int TOCHECK_PROJECT = 51;
    public static final int BAD_PROJECT = 52;

    public static final long UPDATE_INTERVAL = 50000000l;

    public static int CCCC = 0;
    
}
